package com.product.magina.wechatserver.dao;

import com.product.magina.wechatserver.entity.DsmtPublicWechat;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface DsmtPublicWechatDao {

    DsmtPublicWechat selectByPhone(@Param("phone") String phone);
    DsmtPublicWechat selectByMap(Map<String, Object> params);

    int insertDsmtPublicWechat(DsmtPublicWechat dsmtPublicWechat);

    int updateDsmtPublicWechat(DsmtPublicWechat dsmtPublicWechat);
}
